package cn.tworice.swagger.constand;


public enum ResponseCode {


    SUCCESS_NO_TIPS(200,"请求正常通过，不展示通知"),
    SUCCESS_TIPS(201,"请求正常通过，展示通知消息"),
    SUCCESS_CRYPT(202,"请求结果被加密"),
    LOGIN_RE_AUTH(300,"登录请求需要进行二次验证"),
    ERROR(500,"服务器处理出错");


    ResponseCode(Integer code, String description) {
        this.code = code;
        this.description = description;
    }
    private final Integer code;

    private final String description;

    public Integer getCode() {
        return this.code;
    }

    public String getDescription() {
        return this.description;
    }
}
